From: iap10@labyrinth.cl.cam.ac.uk Date: Thu, 13 May 2004 10:17:36 +0000 (+0000) Subject: bitkeeper revision 1.902 (40a34b40gzZ-ypwQ3HUMqdzjtQqqfQ) X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~18219 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=c4572920faddad16c0637fed15cb7e5559def08d;p=xen.git bitkeeper revision 1.902 (40a34b40gzZ-ypwQ3HUMqdzjtQqqfQ) domain.c: init shadow page table spin lock earlier --- diff --git a/xen/common/domain.c b/xen/common/domain.c index 90f28cda92..b3a2e0ffa8 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -58,6 +58,8 @@ struct task_struct *do_createdomain(domid_t dom_id, unsigned int cpu) atomic_set(&p->refcnt, 1); + spin_lock_init(&p->mm.shadow_lock); + p->domain = dom_id; p->processor = cpu; p->create_time = NOW();